package com.xuecheng.api.comment.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("评论信息统计返回封装类")
public class CommentVO implements Serializable {

    @ApiModelProperty(value = "评论的Id")
    private Integer commentId;

    @ApiModelProperty(value ="评论内容")
    private String commentText;
    //平均星级
    private String starRank;
    //1星评价数
    private Integer starRank1Nums;
    //2星评价数
    private Integer starRank2Nums;
    //3星评价数
    private Integer starRank3Nums;
    //4星评价数
    private Integer starRank4Nums;
    //5星评价数
    private Integer starRank5Nums;
    //评论对象ID
    private Integer targetId;
    //总评论数
    private Integer totalCommentNums;
}
